package com.ruoyi.teaching.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 课程设计对象 ya_course_design
 *
 * @author ruoyi
 * @date 2024-04-03
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("ya_course_design")
public class CourseDesign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    @TableId(type = IdType.AUTO)
    private Long id;

    /** 课程内容 */
    @Excel(name = "课程内容")
    @TableField("course_content")
    private String courseContent;

    /** 课程ID */
    @Excel(name = "课程ID")
    @TableField("course_id")
    private Long courseId;

    /** 第几天 */
    @Excel(name = "第几天")
    @TableField("day")
    private Long day;

    /** 阶段 */
    @Excel(name = "阶段")
    @TableField("stage")
    private String stage;

    /** 授课老师 */
    @Excel(name = "授课老师")
    @TableField("teacher")
    private String teacher;

    /** 备注信息 */
    @Excel(name = "备注信息")
    @TableField("remarks")
    private String remarks;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("courseContent", getCourseContent())
            .append("courseId", getCourseId())
            .append("day", getDay())
            .append("stage", getStage())
            .append("teacher", getTeacher())
            .append("remarks", getRemarks())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
